GetGlobalMROTag

Use thisfunction to obtain the value of the Global Context Tag that is assigned to the transaction.

Usage in a script must pick up the return value or else a runtime syntax error will be generated.

The Global Context Tag determines the initial snippet names used by mobile responsive output (MRO). If a tag is defined, then it is assumed that the transaction will attempt to use specific snippet names before reverting to defaults.

Call this function when processing a transaction, via a pre-trans dal rule, or when processing a form in the group via trigger or script. If you have defined a Global Context Tag on the Form List in Studio, this value will take precedence. If you want to have a default Global Context and override with a script, also set the default in the script.

Syntax:

GetGlobalMRLTag ()

There are no parameters for this function.

Example:

Tag = GetGlobalMROTag()

If (Tag = "")

// No tag assigned yet

See Also:

Miscellaneous Functions